package com.ganzi.ganziserver.core;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;
import java.sql.Timestamp;

@Data
@Builder
public class FanState implements Serializable {
    private long id;
    private long newRunTime;
    private long ktRunTime;
    private int isOnLine;
    private long fanId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp updateTime;
    private int switchgear ;//开关机
    private int model ;//模式
    private int windSpeed ;//风速
    private int circulate ;//循环
    private int temperature ;//温度

}
